package com.xebia.pomodoro.messages
{
	import com.xebia.pomodoro.enums.P2PMessageType;

	public class PomodoroSyncMessage extends P2PMessage
	{
		public var hasPomodoroStarted:Boolean;

		public var minutes:Number;

		public function PomodoroSyncMessage(hasPomodoroStarted:Boolean, minutes:Number, username:String)
		{
			this.minutes = minutes;
			this.hasPomodoroStarted = hasPomodoroStarted;
			super(P2PMessageType.SYNC_POMODORO, username);
		}
	}
}
